package com.csun.cmny.provider.service.impl;

import com.csun.cmny.core.support.BaseService;
import com.csun.cmny.provider.dao.OmcLifeAmbiguityMapper;
import com.csun.cmny.provider.model.domain.OmcLifeAmbiguity;
import com.csun.cmny.provider.model.dto.lifeAmbiguity.LifeAmbiguitySelectDto;
import com.csun.cmny.provider.model.vo.lifeAmbiguity.LifeAmbiguityVo;
import com.csun.cmny.provider.service.OmcLifeAmbiguityService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
@Transactional
public class OmcLifeAmbiguityServiceImpl extends BaseService<OmcLifeAmbiguity> implements OmcLifeAmbiguityService {
    @Resource
    private OmcLifeAmbiguityMapper ambiguityMapper;

    @Override
    public List<LifeAmbiguityVo> selectAmbiguity(LifeAmbiguitySelectDto lifeAmbiguitySelectDto) {
        return ambiguityMapper.selectAmbiguity(lifeAmbiguitySelectDto);
    }
}
